package com.zsrd.lessons.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.zsrd.lessons.domain.TsLessons;
import com.zsrd.lessons.domain.dto.TsLessonsListDto;

/**
 * <p>
 * 课程表 Mapper 接口
 * </p>
 *
 * @author Chen Wei
 * @since 2022-07-11
 */
public interface TsLessonsMapper extends BaseMapper<TsLessons> {

    void updateViews(Long id);

    IPage<TsLessonsListDto> getLessonList(Page<TsLessonsListDto> page, String keyword, String orgNo);
}
